Skip to main content

All Questions

Tagged with
0votes
1answer
22views

OpenCV: pixel-accurate rendering

I'm having this code on my Raspberry Pi5: import cv2 import numpy as np box_size = (640, 480) spacing = 1 num_rectangles = 4 window_width = 640 window_height = 1200 frame = np.ones((window_height, ...
Fuxi's user avatar
  • 129
1vote
0answers
143views

Installing TensorFlow Lite dependencies and OpenCV

I am getting this error while running this command bash get_pi_requirements.sh to install TensorFlow Lite dependencies and OpenCV for my object detection project. What could be the issue and any ...
Suprio Barua's user avatar
0votes
1answer
167views

Open CV threading to get frames

I am working on a project for which I need run 3 threads in python. 1 for getting frames and the other 2 for proccessing them. I don't know how to pass variables between threads (I want to pass frames ...
Overclocker.py's user avatar
-1votes
1answer
452views

How to detect the position and rotation of objects in Python?

I'm building a robot that needs to detect the position and rotation of multiple trained objects from a single image. For this I'm using my Raspberry Pi 3B with Raspberry OS 64-Bit. I tried Localizer ...
JakesMD's user avatar
1vote
2answers
3kviews

Can't install Opencv on raspberry pi 4

I'm using the raspberry pi 4 (pip version: pip 22.3.1, python version: 3.9.2) on visual studio code and whenever I enter the command pip install opencv-python in the terminal, after 40 mins I get the ...
Ali Moradi's user avatar
0votes
0answers
103views

raspberry pi 4b, python, opencv, When trying to process video frames the instructions do not run sequentially

I have a problem when executing the programme below, So basically what's happening is when I execute the programme I expect it to open the camera (logitec usb camera) capture a frame, process it, ...
Younes ezouagh's user avatar
1vote
0answers
608views

Raspberry Pi and OpenCV. The cv2.error while capture the image through camera lens

https://stackoverflow.com/questions/43572387/error-215-size-width0-size-height0-occurred-when-attempting-to-display-a I have the similar issue with this discussion, after I read it still don't have ...
44 chuang's user avatar
1vote
1answer
2kviews

Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly

I'm trying to install opencv on a raspberryPI 4 (RaspberryPI OS Bullseye x64, Python 9), that is part of installing all the dependencies for this tutorial but it always fails with the error below. I ...
Zmur's user avatar
  • 111
0votes
2answers
519views

python cv2 module not found when triggered by crontab

My python script imports cv2, and it works fine when I start the script manually. If I set the script to launch on boot (either via crontab, or via a .desktop file (in the user/.config/autostart/...
Matt Welander's user avatar
0votes
0answers
653views

Can I use the PI Camera Stream in Python on a PC and use OPENCV?

So I got a Raspberry Pi with the Pi camera and I would like to use the camera with OpenCV in Python. The problem is, I know I can do this easily on the Pi itself but I highly doubt the Pi will be able ...
Clement S's user avatar
0votes
1answer
149views

Can a raspberry pi get the video feed of another through a NFS server between the two?

For my project, I need to get the feed (preferably simultaneousely) of 2 pi cameras (one on each pi 4). As of now, both are communicating through ssh over wifi. It's very slow, not reliable and very ...
Sanico's user avatar
1vote
0answers
1kviews

Problem using OpenCV and Raspberry PI camera V2

I had been using the following code for the past two months with no problem whatsoever, however, just yesterday I have been getting errors using the code which I will detail as follows. The code in ...
Atharva Naik's user avatar
0votes
1answer
178views

Viewing the captured content of the webcam live

How can I view the captured content of my webcam on Linux/Raspberry? I dont want to share it, only view the content live on my monitor. On windows Logitech has an official program where I can preview ...
John's user avatar
0votes
0answers
42views

Calculate the motion of a simple object in 3d

I'm a beginner in python and raspberry pi and for a school project which is due this month, we're using a raspberry pi 3 and a camera module (fixed) and the idea is when u move something in the camera ...
Adam malian's user avatar
0votes
1answer
712views

PiCamera V2 NoIR and AMG8833 thermal sensor mmal_vc_port_enable: failed to enable port vc.null_sink:in:0(OPQV): ENOSPC

Hardware used: Raspberry pi 4b, 4 gb ram, AMG8833 thermal camera, PiCamera V2 noir, ALL brand new, i just bought them few weeks ago. Im trying to do finish a project and i ran into a not that good ...
Miu Catalin's user avatar

153050per page
close